Fast Approximate Minimum Spanning Tree Algorithm Based on K-Means
نویسندگان
چکیده
It is difficult to apply traditional Minimum spanning tree(MST) algorithms to a large dataset since the time complexity of the algorithms is quadratic. In this paper, we present a fast approximate MST framework on the complete graph of N points, and any exact MST algorithm can be incorporated into the framework and speeded up. The proposed framework employs a divide-and-conquer scheme to produce an approximate MST with theoretical time complexity of O(N), if the incorporated exact MST algorithm has the running time of O(N). The framework consists of two stages. In the first stage, K-means is employed to partition a dataset into √ N clusters. Then an exact MST algorithm is applied to each cluster and the produced √ N MSTs are connected in terms of a proposed criterion to form an approximate MST. In the second stage, the clusters produced in the first stage form √ N − 1 neighboring pairs, and the dataset is repartitioned in order to make the neighboring boundaries of a neighboring pair be in the same cluster. Then another approximate MST is constructed. Finally, the two approximate MSTs are combined into a graph and a more accurate MST is generated from it. Experimental results show that the proposed approximate MST algorithm is computational efficient, and the approximation is sufficiently close to the true MST such that the performance in practical applications hardly suffers.
منابع مشابه
A fast approximation for minimum spanning trees in k-dimensional space
We study the problem of finding a minimum spanning tree on the complete graph on n points in E' , with the weight of an edge between any two points being the distance between the two points under some distance metric. A fast algorithm, which finds an approximate minimum spanning tree with wei h t a t most (1+c) times optimal in developed for the L,, q =2,3, ..., distance metrics. Moreover, if t...
متن کاملA fast minimum spanning tree algorithm based on K-means
Article history: Received 14 June 2014 Received in revised form 25 September 2014 Accepted 3 October 2014 Available online 14 October 2014
متن کاملAn approximate solution method based on tabu search for k-minimum spanning tree problems
This paper considers k-minimum spanning tree problems. An existing solution algorithm based on tabu search, which was proposed by Katagiri et al., includes an iterative solving procedure of minimum spanning tree (MST) problems for subgraphs to obtain a local optimal solution of k-minimum spanning tree problems. This article provides a new tabu-searchbased approximate solution method that does n...
متن کاملA Metaheuristic Algorithm for the Minimum Routing Cost Spanning Tree Problem
The routing cost of a spanning tree in a weighted and connected graph is defined as the total length of paths between all pairs of vertices. The objective of the minimum routing cost spanning tree problem is to find a spanning tree such that its routing cost is minimum. This is an NP-Hard problem that we present a GRASP with path-relinking metaheuristic algorithm for it. GRASP is a multi-start ...
متن کاملA Hybrid Algorithm Based on Tabu Search and Ant Colony Optimization for k-Minimum Spanning Tree Problems
This paper considers an efficient approximate algorithm for solving k-minimum spanning tree problems which is one of the combinatorial optimization in networks. A new hybrid algorithm based on tabu search and ant colony optimization is provided. Results of numerical experiments show that the proposed method updates some of the best known values with very short time and that the proposed method ...
متن کامل